package com.tms.project.tms.score.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tms.framework.aspectj.lang.annotation.Excel;
import com.tms.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * @author xyl
 * @date 2021-03-26 16:57
 */
public class ScoreVO extends BaseEntity {

    /**
     * 老师Id
     */
    @Excel(name = "老师Id")
    private Integer teacherRecordId;

    /**
     * 老师姓名
     */
    @Excel(name = "老师姓名")
    private String teacherName;

    /**
     * 平均分
     */
    @Excel(name = "平均分")
    private Long avgScore;

    /**
     * 评分数量
     */
    @Excel(name = "评分数量")
    private String count;

    /**
     * 最新提交时间
     */
    @Excel(name = "最新提交时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date newTime;

    public Integer getTeacherRecordId() {
        return teacherRecordId;
    }

    public void setTeacherRecordId(Integer teacherRecordId) {
        this.teacherRecordId = teacherRecordId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public Long getAvgScore() {
        return avgScore;
    }

    public void setAvgScore(Long avgScore) {
        this.avgScore = avgScore;
    }


    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public Date getNewTime() {
        return newTime;
    }

    public void setNewTime(Date newTime) {
        this.newTime = newTime;
    }

    @Override
    public String toString() {
        return "ScoreVO{" +
                "teacherName='" + teacherName + '\'' +
                ", avgScore=" + avgScore +
                ", count='" + count + '\'' +
                ", newTime=" + newTime +
                '}';
    }
}
